package com.wuseguang.springcloud.service;

import com.wuseguang.springcloud.util.Result;
import org.springframework.transaction.annotation.Transactional;

public interface ClassRollCallService {
    Result queryClassSize(Integer schoolId, String admin, String teacherId);

    Result queryClassStanza(Integer schoolId, Integer classId, String time);

    Result queryClassStudent(Integer schoolId, Integer classId, String time, Integer id,String name);

    @Transactional
    Result batchAddClassAttend(String list, Integer id, Integer teacherId);

    Result querySchoolStanza(Integer schoolId, String time);

    Result queryClassStanzaList(Integer schoolId, Integer classId, String time);

    Result queryClassStanzaCount(Integer schoolId, Integer id, String time);

    Result queryStanzaStudentId(Integer studentId, String time);

    Result queryStanzaStudentIdCount(Integer studentId, Integer type, String startTime, String endTime);

    Result queryManageClassByTeacherId(String teacherId, String schoolId, String admin);

    Result updateManageClassId(Integer classId, Integer state);
}
